﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucImages.ascx.cs" Inherits="SES.CMS.AdminCP.PageUC.ucImages" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<h2>
    Cập nhật hình ảnh</h2>
<table width="100%" border="1">
    <tr>
        <td class="style8">
            Tên ảnh
        </td>
        <td class="style9">
            <asp:TextBox ID="txtTitle" runat="server" Width="379px" ValidationGroup="submitGrp"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTitle"
                ErrorMessage="*** Cần nhập tiêu đề" ValidationGroup="submitGrp"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>
            Chọn ảnh
        </td>
        <td>
            <asp:FileUpload ID="fuImage" runat="server" />
            &nbsp;
            <asp:HyperLink ID="hplImage" runat="server" Target="_blank" Visible="False">[Xem 
            ảnh]</asp:HyperLink>
        </td>
    </tr>
    <tr>
        <td class="style8">
            Thuộc album
        </td>
        <td class="style9">
            <div style="float: left; vertical-align: middle;">
                <asp:DropDownList ID="cboAlbum" runat="server" AppendDataBoundItems="true" Width="250px">
                    <asp:ListItem Text=".: Không chọn :." Value="0"></asp:ListItem>
                </asp:DropDownList>
            </div>
        </td>
    </tr>
     <tr>
        <td class="style8">
            Thuộc sản phẩm
        </td>
        <td class="style9">
            <div style="float: left; vertical-align: middle;">
                <asp:DropDownList ID="ddlProduct" runat="server" AppendDataBoundItems="true" Width="250px">
                    <asp:ListItem Text=".: Không chọn :." Value="0"></asp:ListItem>
                </asp:DropDownList>
            </div>
        </td>
    </tr>
    <tr runat="server" id="trimg" visible="false">
        <td class="style8">
            Chi tiết:
        </td>
        <td>
           <asp:TextBox runat="server" ID="txtDetail" TextMode="MultiLine" Width="500px" Height="120px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style8">
            &nbsp;
        </td>
        <td class="style4">
            <asp:Button ID="btnSave" runat="server" Text="Lưu" OnClick="btnSave_Click" ValidationGroup="submitGrp" />
            <asp:Button ID="btnReset" runat="server" Text="Hủy" />
        </td>
    </tr>
</table>
